<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>减手动配送币</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/semantic.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/main.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/common.css">
    <link rel="stylesheet" href="__PUBLIC__/Css/page.css">
    
    <link href="__PUBLIC__/Css/bootstrap.min14ed.css" rel="stylesheet" media="all" type="text/css" />
    <script src="__PUBLIC__/Js/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/layui/build/css/layui.css">
    <script src="__PUBLIC__/layui/build/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layui.mobile.css">
    <style>
        .zong{width:100%;height:40px;line-height: 40px;border-bottom: 1px solid #fff}
        .tittle{width:100px;float:left;padding-left:10px;}
        .info{float:left}
        .shr>p>img{
            width:40%;}
    </style>

</head>
<body>
    <div class="accounttitle"><h1>减手动配送币 </h1></div>
<div class="pusher">

    <div class="ui inverted vertical masthead white segment">
        <div class="main ui container">

            <div class="form example" data-use-content="true">

                <div class="ui form">
                    <form name="form4" method="post" action="__URL__/currencyPresentSubAC">

                        <div class="field">
                            <!--<select name="stype">
                            &lt;!&ndash; <option value="2">充值互助升级</option> &ndash;&gt;
                            <option value="1">减手动配送币</option>
                            </select>-->
                            <input placeholder="配送编号" name="id" value="{$_GET.id}" type="text" disabled >
                            <input placeholder="配送编号" name="presentid" hidden value="{$_GET.id}" type="text">
                            <input placeholder="配送币用户编号" name="user_id" value="配送币用户编号: {$present_rs['user_id']}" type="text" disabled>
                            <input placeholder="配送全部金额" name="user_id" value="全部金额: {$present_rs['all_money']}" type="text" disabled>
                            <input placeholder="配送剩余金额" name="user_id" value="剩余金额: {$present_rs['live_money']}" type="text" disabled>
                            <input placeholder="减少的配送金额" name="ePoints" value="" type="text">
                            <!-- <input type="hidden" name="stype" value="1" > -->
                        </div>

                        <div class="odshouhuo">
                            <div class="shr border_bottom">
                                <p style="color: #ea3136">
                                    请注意减少配币信息的正确性！
                                </p>
                            </div>
                        </div>

                        <div class="button" style="text-align:right;"><button class="ui fluid  button" onclick="{if(confirm('确认减少配送的信息正确吗?')){return true;}return false;}" style="background-color: #ea3136;color: #fff">确认减配币</button></div>

                    </form>
                </div>
            </div>
        </div>
        <br>


    </div>
    <div class="bottom"></div>
</div>
</div>


<div style="height: 50px;"></div>
<include file="Public:footer" />

    <script type="text/javascript">
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            var start = {
                // min: laydate.now(-2)
                max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };

            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

            $('#time1').on('click',function(){
                start.elem = this;
                laydate(start);
            });
            $('#time2').on('click',function(){
                end.elem = this
                laydate(end);
            });
        });
    </script>